@echo off

setlocal enabledelayedexpansion
net stop mysql-RC
net start mysql-RC
..\mysql-RC\bin\mysql --user=root --password=raisecom@123 -P13306 mysql < create_db.bat
For /r .\ %%i in (mysql-create-db-*.sql) do ..\mysql-RC\bin\mysql --user=root --password=raisecom@123 -P13306 rtms < %%i